import urllib2
import re
import os

page = urllib2.urlopen("http://feelssh.com/").read()
mo = re.search(r"<br />\n\n .*?(\S+).*?\n",page)
password = mo.group(1)
if mo <> None:
    print password
else:
    print "nothingmatched"
command = "plink.exe -C -ssh -N -P 22 -D 127.0.0.1:7070 -pw \"" + password + "\" -l freessh 69.163.40.38"
print command
os.popen(command)


